package itsm.isperp.framework.security.access.config;

import itsm.isperp.framework.domain.AuthorityType;

import org.springframework.security.access.ConfigAttribute;

public class SecurityConfigAttribute implements ConfigAttribute {

	private static final long serialVersionUID = 1L;

	private AuthorityType authorityType;
	private boolean granted;
	private Object member;

	private String attribute = "IS_AUTHENTICATED_FULLY";

	public String getAttribute() {
		return attribute;
	}

	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}

	public AuthorityType getAuthorityType() {
		return authorityType;
	}

	public void setAuthorityType(AuthorityType authorityType) {
		this.authorityType = authorityType;
	}

	public boolean isGranted() {
		return granted;
	}

	public void setGranted(boolean granted) {
		this.granted = granted;
	}

	public Object getMember() {
		return member;
	}

	public void setMember(Object member) {
		this.member = member;
	}

}
